package org.gwt.pluginframework.common.event;

/**
 * Event handling interface.
 * 
 * @author mszymanski
 */
public interface IPluginEventHandler {
	/**
	 * Method handles event.
	 * 
	 * @param event
	 * @return
	 */
	void handle(IPluginEvent event);
	
	/**
	 * Method gives event name which will be handled.
	 * 
	 * @return
	 */
	String getEventName();
}
